package com.chenyue.cm.${vo.moudule}.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.${vo.moudule}.dao.${vo.tablename_uperCase}Mapper;
import com.chenyue.cm.${vo.moudule}.domain.${vo.tablename_uperCase};
import com.chenyue.cm.${vo.moudule}.service.${vo.tablename_uperCase}Service;
import org.springframework.stereotype.Service;


/**
*
* @author ${vo.author}
*/
@Service(value = "${vo.tablename_uperCase}Service")
public class ${vo.tablename_uperCase}ServiceImpl extends BaseServiceImpl<${vo.tablename_uperCase}>  implements ${vo.tablename_uperCase}Service {

private final ${vo.tablename_uperCase}Mapper ${vo.tablename_camelCase}Mapper;

	public ${vo.tablename_uperCase}ServiceImpl(@Qualifier("${vo.tablename_camelCase}Mapper") ${vo.tablename_uperCase}Mapper ${vo.tablename_camelCase}Mapper) {
		this.${vo.tablename_camelCase}Mapper = ${vo.tablename_camelCase}Mapper;
	}

	@Override
	@Resource(name = "${vo.tablename_camelCase}Mapper")
	public void setBaseMapper(LcBaseMapper<${vo.tablename_uperCase}, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}

}
